//
//  IMMessageModel.h
//  markmap
//
//  Created by 甘世清 on 2024/5/26.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface IMMessageModel : NSObject
@property (nonatomic , strong) NSString * roomId;//房间id
@property (nonatomic , strong) NSString * tos;//接收者id
@property (nonatomic , strong) NSString * froms;//发送者id
@property (nonatomic , strong) NSString * content; //内容
@property (nonatomic , assign) NSInteger  msgType;//消息类型
@property (nonatomic , copy) NSString * time; //时间戳
@property (nonatomic , copy) NSString * ext; //扩展
@property (nonatomic , assign) int noReadCount; //未读数
@property (nonatomic , assign) BOOL  isBlack; //黑名单
@property (nonatomic , copy) NSString * IMId;
//本地需要处理的值
@property (nonatomic , assign) float  imageW;//图片宽
@property (nonatomic ,  assign) float imageH;//图片高
@property (nonatomic , copy) NSString * cellIndentify;//cell名字
@property (nonatomic, assign) CGSize cellSize; //cell尺寸
@property (nonatomic , assign) BOOL  isShowTime; //是否显示时间
@property (nonatomic, assign) BOOL  sendType; //yes在左边显示, no在右边显示
@property (nonatomic , copy) NSString * name; //名字
@property (nonatomic , copy) NSString * portrait; //头像
@end

NS_ASSUME_NONNULL_END
